package com.cloudm.technician.ui.modules.cloudm_box.channel_list

import com.cloudm.technician.data.model.ChannelInfo
import com.cloudm.technician.ui.base.BaseListView
import com.cloudm.technician.ui.base.BasePresenter

/**
 * 作者: wesley
 * 时间: 2017/12/23
 * 描述: 协议接口
 */
interface ChannelListContract {

    interface View : BaseListView<ArrayList<ChannelInfo>> {

        fun openTransferActivity(id: String?)

        fun openUploadPicTokenActivity(id: String)

        fun finishSelf()
    }

    interface Presenter : BasePresenter {

        fun getChannelInfo(page: Int, size: Int, deviceId: Int)

        fun openActivity(info: ChannelInfo)
    }
}